/**
 * 
 */
package org.mhz.sit.dataaccess;

import java.util.List;

import org.mhz.sit.entity.Language;
import org.mhz.sit.util.DatabaseUtil;

/**
 * @author Mahan
 *
 * Languages dao
 */
public class LanguagesDAO
{
    /**
     * Retrieves all languages
     * 
     * @return a list of languages
     */
    @SuppressWarnings("unchecked")
    public List<Language> getAll() 
    {
        return (List<Language>) DatabaseUtil.getData(Language.class.getName());
    } 
}
